<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的 - 日记小程序</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
        body {
            background-color: #f7f7f7;
            color: #333;
            padding-bottom: 60px;
        }
        .header {
            background-color: #42b983;
            color: white;
            padding: 15px;
            text-align: center;
            position: relative;
        }
        .user-info {
            display: flex;
            align-items: center;
            background-color: white;
            padding: 20px 15px;
            margin-bottom: 10px;
        }
        .avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            margin-right: 15px;
            overflow: hidden;
        }
        .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .user-details {
            flex: 1;
        }
        .nickname {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        .user-id {
            font-size: 12px;
            color: #999;
        }
        .settings-section {
            background-color: white;
            margin-bottom: 10px;
        }
        .settings-header {
            padding: 10px 15px;
            font-size: 14px;
            color: #999;
            border-bottom: 1px solid #eee;
        }
        .settings-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        .settings-item:last-child {
            border-bottom: none;
        }
        .item-label {
            display: flex;
            align-items: center;
        }
        .item-icon {
            width: 20px;
            margin-right: 10px;
            color: #42b983;
        }
        .item-text {
            font-size: 14px;
        }
        .item-arrow {
            color: #ccc;
            font-size: 14px;
        }
        .switch-container {
            position: relative;
            width: 40px;
            height: 20px;
        }
        .switch-input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            border-radius: 20px;
            transition: .4s;
        }
        .switch-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            border-radius: 50%;
            transition: .4s;
        }
        .switch-input:checked + .switch-slider {
            background-color: #42b983;
        }
        .switch-input:checked + .switch-slider:before {
            transform: translateX(20px);
        }
        .logout-btn {
            background-color: white;
            color: #ff5b5b;
            text-align: center;
            padding: 15px;
            margin: 20px 15px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: bold;
        }
        .version-info {
            text-align: center;
            font-size: 12px;
            color: #999;
            margin-top: 20px;
        }
        .tabbar {
            position: fixed;
            bottom: 0;
            width: 100%;
            height: 50px;
            background-color: white;
            display: flex;
            border-top: 1px solid #eee;
        }
        .tab-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            color: #999;
        }
        .tab-item.active {
            color: #42b983;
        }
        .tab-item i {
            font-size: 20px;
            margin-bottom: 3px;
        }
    </style>
</head>
<body>
    <div class="header">
        <h1>我的</h1>
    </div>

    <div class="user-info">
        <div class="avatar">
            <img src="https://picsum.photos/id/1012/200/200" alt="用户头像">
        </div>
        <div class="user-details">
            <div class="nickname">时光记录者</div>
            <div class="user-id">ID: 54321</div>
        </div>
    </div>

    <div class="settings-section">
        <div class="settings-header">通用设置</div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-bell"></i>
                </div>
                <div class="item-text">每日提醒</div>
            </div>
            <label class="switch-container">
                <input type="checkbox" class="switch-input" checked>
                <span class="switch-slider"></span>
            </label>
        </div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-lock"></i>
                </div>
                <div class="item-text">隐私设置</div>
            </div>
            <div class="item-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-cloud-upload-alt"></i>
                </div>
                <div class="item-text">备份与同步</div>
            </div>
            <div class="item-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>
    </div>

    <div class="settings-section">
        <div class="settings-header">个性化</div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-palette"></i>
                </div>
                <div class="item-text">主题设置</div>
            </div>
            <div class="item-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-font"></i>
                </div>
                <div class="item-text">字体大小</div>
            </div>
            <div class="item-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>
    </div>

    <div class="settings-section">
        <div class="settings-header">其他</div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-question-circle"></i>
                </div>
                <div class="item-text">帮助与反馈</div>
            </div>
            <div class="item-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>
        <div class="settings-item">
            <div class="item-label">
                <div class="item-icon">
                    <i class="fas fa-info-circle"></i>
                </div>
                <div class="item-text">关于我们</div>
            </div>
            <div class="item-arrow">
                <i class="fas fa-chevron-right"></i>
            </div>
        </div>
    </div>

    <div class="logout-btn">退出登录</div>

    <div class="version-info">版本 1.0.0</div>

    <div class="tabbar">
        <div class="tab-item">
            <i class="fas fa-book"></i>
            <span>日记</span>
        </div>
        <div class="tab-item">
            <i class="fas fa-calendar-alt"></i>
            <span>日历</span>
        </div>
        <div class="tab-item">
            <i class="fas fa-chart-line"></i>
            <span>统计</span>
        </div>
        <div class="tab-item active">
            <i class="fas fa-user"></i>
            <span>我的</span>
        </div>
    </div>
</body>
</html> 